#include"SList.h"


void test1()
{
	SLTNode* plist = NULL;
	//SLTPushBack(&plist, 1);
	//SLTPushBack(&plist, 2);
	//SLTPushBack(&plist, 3);
	//SLTPushBack(&plist, 4);
	//SLTPushFront(&plist, 5);
	SLTPushFront(&plist, 1);
	SLTPushFront(&plist, 2);
	SLTPushFront(&plist, 3);

	//SLTPopBack(&plist);
	//SLTPopFront(&plist);
	//SLTNode* node = SLTFind(&plist, 3);
	//if (node != NULL)
	//{
	//	printf("%d\n", node->data);
	//}



	SLTInsert(&plist, plist->next->next->next, 4);
	//SLTInsert(&plist, plist->next, 3);
	//SLTInsert(&plist, plist->next, 3);


	SLTPrint(plist);
}

int main()
{
	test1();
	return 0;
}